package com.sixkey.service;

import com.sixkey.entity.Sign;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sixkey.entity.vo.ReSignVo;
import com.sixkey.entity.vo.SignVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 用户签到表 服务类
 * </p>
 *
 * @author author
 * @since 2023-10-25
 */
@Mapper
public interface ISignService extends IService<Sign> {

    List<ReSignVo> getSignRecords(String phone);

    void toSign(String phone, int id);

    Map<String, Object> queryList(Integer pageNo, Integer pageSize, SignVo signVo);

    void saveSign(SignVo signVo);

    SignVo getSignById(Integer id);

    void updateSign(Sign sign);

}
